home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Franz PD / Franz PD Disk #067 (1990-04)(Amiga User Group Deutschland e.V.).zip / Franz PD Disk #067 (1990-04)(Amiga User Group Deutschland e.V.).adf / Include / CRT.i < prev    next >
Text File  |  1989-07-02  |  624b  |  27 lines

  1. {
  2.     CRT.i
  3.  
  4.     These routines are a simple attempt to mimic the Turbo Pascal
  5.     CRT routines.  See ConsoleTest.p for an example of using these.
  6.     Note that ConsoleSetPtr, the actual type returned by
  7.     AttachConsole, is not defined here.  I wanted to implement it as sort
  8.     of an opaque type.
  9. }
  10.  
  11. {$I "Include/Intuition.i"}
  12.  
  13. Function AttachConsole(w : WindowPtr) : Address;
  14.     External;
  15.  
  16. Function ReadKey(con : Address) : Char;
  17.     External;
  18.  
  19. Function KeyPressed(con : Address) : Boolean;
  20.     External;
  21.  
  22. Procedure WriteString(con : Address; Str : String);
  23.     External;
  24.  
  25. Procedure DetachConsole(con : Address);
  26.     External;
  27.